<%@ Page Language="C#" MasterPageFile="Admin.master" Codebehind="StatusPage.aspx.cs" AutoEventWireup="True" Inherits="CrossFactory.SiteNote.Admin.StatusPage" Title="Status page" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
									<table cellSpacing="0" cellPadding="3" style="border:1px solid #D6EBFF;width:100%">
										<tr>
											<td class="tdStatusPage" style="WIDTH:250px;">Framework Version</td>
											<td class="tdStatusPage"><asp:Label id="lblFramework" runat="server"></asp:Label></td>
										</tr>
										<tr>
											<td class="tdStatusPage">SiteNote Version</td>
											<td class="tdStatusPage"><asp:Label id="lblSiteNote" runat="server"></asp:Label></td>
										</tr>
										<!--<tr>
											<td class="tdStatusPage">Website Version</td>
											<td class="tdStatusPage"><asp:Label id="lblWebsiteVersion"></asp:Label></td>
										</tr>-->
										<tr>
											<td class="tdStatusPage">Log Directory</td>
											<td class="tdStatusPage"><asp:Label id="lblLogDir" runat="server"></asp:Label></td>
										</tr>
										<tr>
											<td class="tdStatusPage">User Application Pool</td>
											<td class="tdStatusPage"><asp:Label id="lblUser" runat="server"></asp:Label></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Website size</td>
											<td class="tdStatusPage"><asp:Label id="lblSize" runat="server"></asp:Label></td>
										</tr>
									</table>
									<br>
							
									<table cellSpacing="0" cellPadding="3" style="width:100%; border:solid 1px #D9E6F9">
										<tr style="border:1px solid #84B2EF">
											<td style="WIDTH: 250px; padding:3px; background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-left:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;" class="ms-toolbar">Test</td>
											<td style="WIDTH: 370px; padding:3px;background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;" class="ms-toolbar">Test Detail</td>
											<td class="ms-toolbar" style="background-color:#D6EBFF;padding:3px;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;">Test Result</td>
											<td style="WIDTH: 100px;padding:3px;background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;border-right:solid 1px #84B2EF;" class="ms-toolbar">Status</td>
										</tr>
										<tr>
											<td class="tdStatusPage">Access</td>
											<td class="tdStatusPage" WIDTH="370px">Reach the website url</td>
											<td class="tdStatusPage" ><asp:Label id="lblWebsite" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdWebsite" align="center" runat="server" style="background-color:#fff"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Access</td>
											<td class="tdStatusPage" WIDTH="370px">Read and update all the pages of the website</td>
											<td class="tdStatusPage" ><asp:Label id="lblAccessPages" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdAccessPages" align="center" runat="server" style="background-color:#fff"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Access</td>
											<td class="tdStatusPage" WIDTH="370px">Access security files</td>
											<td class="tdStatusPage"><asp:Label id="lblSecurity" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdSecurity" align="center" runat="server" style="background-color:#fff"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Access</td>
											<td class="tdStatusPage" WIDTH="370px">Log Directory</td>
											<td class="tdStatusPage"><asp:Label id="lblLogFile" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdLogFile" align="center" runat="server" style="background-color:#fff"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Access</td>
											<td class="tdStatusPage" WIDTH="370px">Create new page</td>
											<td class="tdStatusPage"><asp:Label id="lblNewPage" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdNewPage" align="center" runat="server" style="background-color:#fff"></td>
										</tr>
									</table>
									<br>
									
									
									<table cellSpacing="0" cellPadding="3" style="border:1px solid #D6EBFF;width:100%">
										<tr style="border:1px solid #84B2EF">
											<td style="WIDTH: 250px; padding:3px; background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-left:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;" class="ms-toolbar">Test</td>
											<td style="WIDTH: 370px; padding:3px;background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;" class="ms-toolbar">Test Detail</td>
											<td class="ms-toolbar" style="background-color:#D6EBFF;padding:3px;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;">Test Result</td>
											<td style="WIDTH: 100px;padding:3px;background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;border-right:solid 1px #84B2EF;" class="ms-toolbar">Status</td>
										</tr>
										<tr>
											<td class="tdStatusPage" style="WIDTH: 250px">SMTP</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Send an E-mail</td>
											<td class="tdStatusPage"><asp:Label id="lblSendEmail" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdSendEmail" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
										<tr>
											<td class="tdStatusPage" style="WIDTH: 250px">MSXML 6.0</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Check if MSXML 6.0 is installed</td>
											<td class="tdStatusPage">
												<script language="JavaScript">
		                                            var XMLDoc = "<?xml version=\"1.0\"?><Root></Root>"; //XML Document;
		                                            try 
		                                            {
			                                            var domDoc = new ActiveXObject("Msxml2.DOMDocument.6.0");
			                                            domDoc.async=false;
    		                                            if (domDoc.loadXML(XMLDoc))
    	  			                                            document.write("Msxml 6.0 installed</td><td align='center' style='background-color:#fff;'><img src='<%= CrossFactory.SiteNote.Components.Utils._ApplicationPath + CrossFactory.SiteNote.Components.Settings._settings.VirtualPath %>/Admin/Images/WebSiteAdmin/success.jpg' />");
		                                            }
		                                            catch (e)
		                                            {
    		                                            document.write(e.description + "</td><td  align='center' style='background-color:#fff;'><img src='<%= CrossFactory.SiteNote.Components.Utils._ApplicationPath + CrossFactory.SiteNote.Components.Settings._settings.VirtualPath %>/Admin/Images/WebSiteAdmin/warning.jpg' />");
		                                            }
												</script>
											</td>
										</tr>
										<tr>
											<td class="tdStatusPage" style="WIDTH: 250px">Search</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Perform a search test</td>
											<td class="tdStatusPage"><asp:Label id="lblSearch" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdSearch" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
									</table>
									<br>
									
									
									<table cellSpacing="0" cellPadding="3" style="border:1px solid #D6EBFF;width:100%">
										<tr style="border:1px solid #84B2EF">
											<td style="WIDTH: 250px; padding:3px; background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-left:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;" class="ms-toolbar">Test</td>
											<td style="WIDTH: 370px; padding:3px;background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;" class="ms-toolbar">Test Detail</td>
											<td class="ms-toolbar" style="background-color:#D6EBFF;padding:3px;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;">Test Result</td>
											<td style="WIDTH: 100px;padding:3px;background-color:#D6EBFF;border-top:solid 1px #84B2EF;border-bottom:solid 1px #84B2EF;border-right:solid 1px #84B2EF;" class="ms-toolbar">Status</td>
										</tr>
										<!--<tr>
											<td class="tdStatusPage">Stats Database</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Check File Existence</td>
											<td class="tdStatusPage"><asp:Label id="lblDBStatsFileExists" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdDBStatsFileExists" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Stats Database</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Stats File readable</td>
											<td class="tdStatusPage"><asp:Label id="lblDBStatsRead" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdDBStatsRead" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Stats Database</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Stats File updatable</td>
											<td class="tdStatusPage"><asp:Label id="lblDBStatsCreate" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdDBStatsCreate" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>-->
										<tr>
											<td class="tdStatusPage">Forms Database</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Check File Existence</td>
											<td class="tdStatusPage"><asp:Label id="lblDBFormsFileExists" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdDBFormsFileExists" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Forms Database</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Forms File readable</td>
											<td class="tdStatusPage"><asp:Label id="lblDBFormsRead" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdDBFormsRead" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
										<tr>
											<td class="tdStatusPage">Forms Database</td>
											<td class="tdStatusPage" style="WIDTH: 370px">Forms File updatable</td>
											<td class="tdStatusPage"><asp:Label id="lblDBFormsCreate" runat="server"></asp:Label></td>
											<td class="tdStatusPage" id="tdDBFormsCreate" align="center" runat="server" style="background-color:#fff;"></td>
										</tr>
									</table>
									<br>
									
									
									<table cellSpacing="0" cellPadding="0" border="0" width="100%">
										<tr>
											<td width="100%" valign="middle" align="left" class="cmMessage">
												<!--	<table border="0">
													<tr>
														<td colspan="2" class="cmMessageTitle"><b>Status page :</b></td>
													</tr>
													<tr>
														<td colspan="2" height="15"></td>
													</tr>
													<tr>
														<td align="left" class="statusClass" style="PADDING-LEFT:8px">
															<div class="statusClassTitle"><b>License informations:</b></div>
															<br>
															<div class="statusClassInfo">
																status :
																<asp:Label id="lblStatus" runat="server" Width="200px"></asp:Label><br>
																type :
																<asp:Label id="lblType" runat="server" Width="200px"></asp:Label><br>
																Last check date :
																<asp:Label id="lblCheck" runat="server" Width="200px"></asp:Label><br>
																<asp:repeater id="repParams" runat="server">
																	<ItemTemplate>
																		<span><b>
																				<%# DataBinder.Eval(Container.DataItem,"Key") %>
																				:</b></span> <span>
																			<%# DataBinder.Eval(Container.DataItem,"Value") %>
																		</span>
																	</ItemTemplate>
																</asp:repeater><br>
																Expiration date :
																<asp:Label id="lblExpiration" runat="server" Width="200px"></asp:Label>
															</div>
															<br>
															<div class="statusClassTitle">Version informations:</div>
															<br>
															<div class="statusClassInfo">
																SiteNote version : <span>
																	
																</span>
																<br>
																Website version : <span>
																	
																</span>
															</div>
															<br>
															<br>
															<hr>
															<div class="statusClassTitle"><b>Contact :</b></div>
															<br>-->
															<div class="statusClassInfo">
																<%= CrossFactory.SiteNote.Components.Settings._settings.CopyRight %><br>
																Rue de Rodeuhaie, 4<br>
																B-1348 Louvain-la-Neuve<br>
																Phone: +32 476/324034<br>
																<!--Fax: +32 (10) 489538<br>-->
																Email: <a href="mailto:<%= CrossFactory.SiteNote.Components.Settings._settings.SupportAddress %>"><%= CrossFactory.SiteNote.Components.Settings._settings.SupportAddress %></a>
															</div>
														<!--</td>
													</tr>
												</table>-->
											</td>
										</tr>
									</table>
								</asp:Content>
								